package com.freemalll.merchant.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author songshixiong
 * @ClassName MedicalLicenseDto
 * @description:
 * @date 2025年05月21日
 * @version: 1.0
 */
@Data
public class MedicalLicenseDto {

    @Schema(description = "主键")
    private String medlId;

    @Schema(description = "商户id")
    @NotBlank(message = "商户id不能为空")
    private String merId;

    @Schema(description = "机构名称")
    @NotBlank(message = "机构名称不能为空")
    private String medlName;

    @Schema(description = "法人代表")
    @NotBlank(message = "法人代表不能为空")
    private String medlLegalMan;

    @Schema(description = "商户类型  1:诊所 2:门诊部 3:医院")
    private Integer medlType;

    @Schema(description = "主要负责人")
    private String medlPrincipal;

    @Schema(description = "执业登记号")
    @NotBlank(message = "执业登记号不能为空")
    private String medlNo;

    @Schema(description = "执业有效期限起")
    @NotNull(message = "执业有效期限起不能为空")
    private String medlValidateStart;

    @Schema(description = "执业有效期限止")
    @NotNull(message = "执业有效期限止不能为空")
    private String medlValidateEnd;

    @Schema(description = "许可登记省")
    @NotBlank(message = "许可登记省不能为空")
    private String medlProvince;

    @Schema(description = "许可登记省名称")
    private String medlProvinceName;

    @Schema(description = "许可登记市")
    @NotBlank(message = "许可登记市不能为空")
    private String medlCity;

    @Schema(description = "许可登记市名称")
    private String medlCityName;

    @Schema(description = "许可登记区")
    @NotBlank(message = "许可登记区不能为空")
    private String medlCountry;

    @Schema(description = "许可登记区名称")
    private String medlCountryName;

    @Schema(description = "许可登记详细地址")
    @NotBlank(message = "许可登记详细地址不能为空")
    private String medlAddress;

    @Schema(description = "医疗许可证图片地址")
    private String medlImage;

    @Schema(description = "医疗许可证类型 1:医疗许可证 2:卫生许可证")
    @NotNull(message = "医疗许可证类型不能为空")
    private Integer licenseType;
}
